home *** CD-ROM | disk | FTP | other *** search
- 10 'This piece of vertigo-inducing,minimal code,fake high-speed graphics
- 11 'was knocked together by D.D. of Brooklyn. It works using the Quadcolor 1
- 12 'card. I haven't tried it with the IBM color card. Note the F10 message
- 13 'i.e. SCREEN 0,0,0. If you use 'break' to end the program,the 6845
- 14 'will not be reset and the screen will remain a mess. Even more
- 15 'horrendous effects can be achieved by changing the values in
- 16 ' lines 100 and 110.
- 20 RANDOMIZE TIMER
- 30 KEY OFF
- 40 CLS
- 50 PRINT "HIT ANY KEY TO START : ANY KEY TO STOP : USE F10 TO RESTORE SCREEN IF NEED BE
- 60 K$=INKEY$:IF K$=""GOTO 60 'hit any key to start
- 70 SCREEN 2 'high-res mode
- 71 OUT &H3D0,3 'This and the following line screw up the picture
- 72 OUT &H3D1,1 'to produce multiple images
- 80 ONE=INT(319*RND)
- 90 OUT &H3D9,16*RND+1 'change colors
- 120 TWO=INT(199*RND)
- 130 IF R=5 THEN CLS 'randomly clear screen to avoid overcrowding
- 140 R=INT(10*RND)
- 150 CIRCLE(ONE,TWO),54*RND 'draw a big circle
- 160 RANDOMIZE TIMER
- 170 CIRCLE(ONE,TWO),R 'draw a small circle
- 180 K$=INKEY$:IF K$<>"" THEN BEEP:SCREEN 0,0,0:END 'hit any key to stop
- 190 GOTO 80